package com.woniu.bank.service;

import com.woniu.bank.dto.ClientAndRatedDTO;
import com.woniu.bank.dto.RateFrozenDTO;
import com.woniu.bank.dto.RatedMainDTO;
import com.woniu.bank.dto.RatedUpdateDTO;
import com.woniu.bank.entity.Rated;
import com.woniu.bank.vo.*;

import java.util.List;

/**
* @author wangheng
* @description 针对表【rated(评级授信表)】的数据库操作Mapper
* @createDate 2023-01-03 16:56:02
* @Entity com.woniu.bank.entity.Rated
*/
public interface RatedService {

    int deleteByPrimaryKey(Long id);

    int insert(Rated record);

    int insertSelective(Rated record);

    Rated selectByPrimaryKey(Long id);

    List<EcharVO> selectEc();

    int updateByPrimaryKeySelective(Rated record);

    int updateByPrimaryKey(Rated record);

    List<RatedMainVO> selectOne(RatedMainDTO record);

    List<RatedUpdateVO> selectTwo(RatedUpdateDTO record);

    int updateClientAndRated(ClientAndRatedDTO clientAndRatedDTO);

    List<ClientAndRatedVO> selectByid(Long ratedId);

    Rated selectByKey(Long id);

    int updateRateFrozen(RateFrozenVO record);

    List<RateFrozenVO> selectByFrozen(RateFrozenDTO frozenDTO);
}
